package com.sc.service;

import com.github.pagehelper.PageInfo;
import com.sc.pojo.StudyFile;
import com.sc.pojo.StudyNote;
import org.springframework.stereotype.Service;

import java.util.List;


public interface StudyNoteService {
    public List<StudyNote> queryAll();
    public PageInfo<StudyNote> stushow(Integer pageNum, Integer pageSize);
    public StudyNote queryByCid(Integer cid);
    public int add(StudyNote s);
    public int aadNote(StudyNote note,StudyFile file);
    public int updateStudyNote(StudyNote note);
    public StudyNote getStudyNoteByNid(Integer nid);
    public StudyNote selectByPrimaryKey(Integer nid);
    public int deleteStudyNote(Integer nid);
}
